home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3418 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. From: yeti@adam.com.au (jonathan potter)
  2. Subject: Re: Datatypes bitmap problems
  3. Newsgroups: comp.sys.amiga.programmer
  4. References: <4g5lq2$6pn@rock101.genie.net>
  5. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  6. NNTP-Posting-Host: eve.adam.com.au
  7. Message-ID: <3128f34d.0@eden.adam.com.au>
  8. Date: 19 Feb 96 22:01:49 GMT
  9. Path: eden.adam.com.au!not-for-mail
  10.  
  11. IAN J. EINMAN (i.einman@genie.com) wrote:
  12. : 2. You don't.  You need to copy it, or keep the object.  You wouldn't want to keep it,
  13. : since you wouldn't know how to free it later.  I usually keep the object.  Use
  14. : PDTA_FreeSourceBitMap, TRUE and the original bitmap will get deleted, only the source
  15. : <<<not source ignore that///  only the remapped bitmap is left.  The overhead of the
  16. : datatype object isn't that much.  Just free the object later, when you're done with the
  17. : bitmap.
  18.  
  19. The other point is that if you free the object, you will lose any pens it 
  20. had allocated for the remapped picture.
  21.  
  22. -- 
  23. Jon
  24.  
  25.  
  26. +------------------------------------------------------------------+
  27. |     Jonathan Potter      yeti@adam.com.au     +61-412-845-696    |
  28. +------------------------------------------------------------------+
  29.